package com.maket.scxx.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 物料档案对象 wlda_material_file
 * 
 * @author ruoyi
 * @date 2024-06-25
 */
public class WldaMaterialFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 物料编码 */
    private String wlCode;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String wlName;

    /** 物料分类 */
    @Excel(name = "物料分类")
    private String wlSortcode;

    @Excel(name = "物料分类名称")
    private String wlSortname;

    public String getWlSortname() {
        return wlSortname;
    }

    public void setWlSortname(String wlSortname) {
        this.wlSortname = wlSortname;
    }

    public String getDwCodename() {
        return dwCodename;
    }

    public void setDwCodename(String dwCodename) {
        this.dwCodename = dwCodename;
    }

    /** 物料规格 */
    @Excel(name = "物料规格")
    private String wlGg;

    /** 物料来源 */
    @Excel(name = "物料来源")
    private String wlFormcode;

    /** 物料单位 */
    @Excel(name = "物料单位")
    private String dwCode;

    @Excel(name = "物料单位")
    private String dwCodename;

    /** 物料类型 */
    @Excel(name = "物料类型")
    private String wlTypecode;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private Long isUse;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Long isDelete;

    /** 创建人 */
    @Excel(name = "创建人")
    private String wlCreate;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date wlCreatetime;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date wlUpdatetime;

    public void setWlCode(String wlCode) 
    {
        this.wlCode = wlCode;
    }

    public String getWlCode() 
    {
        return wlCode;
    }
    public void setWlName(String wlName) 
    {
        this.wlName = wlName;
    }

    public String getWlName() 
    {
        return wlName;
    }
    public void setWlSortcode(String wlSortcode) 
    {
        this.wlSortcode = wlSortcode;
    }

    public String getWlSortcode() 
    {
        return wlSortcode;
    }
    public void setWlGg(String wlGg) 
    {
        this.wlGg = wlGg;
    }

    public String getWlGg() 
    {
        return wlGg;
    }
    public void setWlFormcode(String wlFormcode) 
    {
        this.wlFormcode = wlFormcode;
    }

    public String getWlFormcode() 
    {
        return wlFormcode;
    }
    public void setDwCode(String dwCode) 
    {
        this.dwCode = dwCode;
    }

    public String getDwCode() 
    {
        return dwCode;
    }
    public void setWlTypecode(String wlTypecode) 
    {
        this.wlTypecode = wlTypecode;
    }

    public String getWlTypecode() 
    {
        return wlTypecode;
    }
    public void setIsUse(Long isUse) 
    {
        this.isUse = isUse;
    }

    public Long getIsUse() 
    {
        return isUse;
    }
    public void setIsDelete(Long isDelete) 
    {
        this.isDelete = isDelete;
    }

    public Long getIsDelete() 
    {
        return isDelete;
    }
    public void setWlCreate(String wlCreate) 
    {
        this.wlCreate = wlCreate;
    }

    public String getWlCreate() 
    {
        return wlCreate;
    }
    public void setWlCreatetime(Date wlCreatetime) 
    {
        this.wlCreatetime = wlCreatetime;
    }

    public Date getWlCreatetime() 
    {
        return wlCreatetime;
    }
    public void setWlUpdatetime(Date wlUpdatetime) 
    {
        this.wlUpdatetime = wlUpdatetime;
    }

    public Date getWlUpdatetime() 
    {
        return wlUpdatetime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("wlCode", getWlCode())
            .append("wlName", getWlName())
            .append("wlSortcode", getWlSortcode())
            .append("wlGg", getWlGg())
            .append("wlFormcode", getWlFormcode())
            .append("dwCode", getDwCode())
            .append("wlTypecode", getWlTypecode())
            .append("isUse", getIsUse())
            .append("isDelete", getIsDelete())
            .append("wlCreate", getWlCreate())
            .append("wlCreatetime", getWlCreatetime())
            .append("wlUpdatetime", getWlUpdatetime())
            .toString();
    }
}
